'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
//登录接口
  router.post('/api/login',controller.home.login)
  //注册接口
  router.post('/api/sign',controller.home.sign)
};
